// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
//请求
import VueResource from 'vue-resource'
Vue.use(VueResource)
//引入网页title插件使用npm install vue-wechat-title --save
import VueWechatTitle from 'vue-wechat-title';  
Vue.use(VueWechatTitle)
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import '../static/css/element-lz.css' 
Vue.use(ElementUI);
//初始化样式 npm i normalize.css --save-dev
import 'normalize.css/normalize.css' 


Vue.config.productionTip = false
//vue的全局变量
import Global_ from '../static/js/config/Global'
Vue.prototype.GLOBAL = Global_;
//全局拦截器和路由进度条
import './permission' // permission control
/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  components: { App },
  template: '<App/>'
})
